/**
 @file sys_tsingma_mx_learning_aging.h

 @date 2019-01-03

 @version v1.0

---file comments----
*/

/***************************************************************
 *
 * Header Files
 *
 ***************************************************************/


/***************************************************************
 *
 *  Defines and Macros
 *
 ***************************************************************/
extern int32
sys_tmm_aging_set_register(uint8 lchip);

extern int32
sys_tmm_aging_get_key_index(uint8 lchip, uint32 aging_ptr, uint8* domain_type, uint32* key_index);

extern int32
sys_tmm_aging_get_aging_ptr(uint8 lchip, uint8 domain_type, uint32 key_index, uint32* aging_ptr);

extern int32
sys_tmm_aging_set_aging_status(uint8 lchip, uint8 domain_type, uint32 key_index, uint8 timer, uint8 status);

extern int32
sys_tmm_aging_get_aging_status(uint8 lchip, uint8 domain_type, uint32 key_index, uint8* hit);

extern int32
sys_tmm_aging_get_aging_timer(uint8 lchip, uint8 domain_type, uint32 key_index, uint8* p_timer);
extern int32 
sys_tmm_aging_init(uint8 lchip);